home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
snip0493.zip
/
DOS5BOOT.H
< prev
next >
Wrap
Text File
|
1993-04-05
|
2KB
|
41 lines
/*
** DOS5BOOT.H - DOS 5 boot record
*/
#if defined(__TURBOC__)
#pragma option -a-
#define FAR far
#elif defined(__ZTC__)
#pragma ZTC align 1
#define FAR _far
#else /* MSC/QC/WATCOM/METAWARE */
#pragma pack(1)
#define FAR _far
#endif
typedef struct { /* offset in buffer record */
char bsJump[3]; /* 1 - 3 */
char bsOemName[8]; /* 4 - 11 */
short bsBytesPerSec; /* 12 - 13 */
char bsSecPerClust; /* 14 */
short bsResSectors; /* 15 - 16 */
char bsFATs; /* 17 */
short bsRootDirEnts; /* 18 - 19 */
short bsSectors; /* 20 - 21 */
char bsMedia; /* 22 */
short bsFATsecs; /* 23 - 24 */
short bsSecPerTrack; /* 25 - 26 */
short bsHeads; /* 27 - 28 */
long bsHiddenSecs; /* 29 - 32 */
long bsHugeSectors; /* 33 - 36 */
char bsDriveNumber; /* 37 */
char bsReserved1; /* 38 */
char bsBootSignature; /* 39 */
long bsVolumeID; /* 40 - 43 */
char bsVolumeLabel[11]; /* 44 - 54 */
char bsFileSysType[8]; /* 54 - 61 */
char bsReserved2[8]; /* 62 - 69 */
char bsJunk[442]; /* 70 - end of record
(byte 512 is last) */
} B_REC; /* Boot_record; total of 512 bytes */